import { wrap } from 'svelte-spa-router/wrap'
const routes = {
  '/': wrap({ asyncComponent: () => import('@/pages/Home.svelte') }),
  '/add/:id': wrap({
    asyncComponent: () => import('@/pages/Add.svelte')
  })
}
export default routes
